package com.example.tests;
import org.testng.annotations.Test;
import com.example.fw.Folders;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;

public class TestFolderDeletion extends TestBase{

	@Test
	public void testFolderDeletion(){
		Folders oldFolders = app.getFolderHelper().getFolders();
		app.getFolderHelper().deleteFolder(0);
		Folders newFolders = app.getFolderHelper().getFolders();
		assertThat(newFolders, equalTo(oldFolders.withDeleted(0)));
}
}